package com.simtop.service;

import com.simtop.domain.experiment.ExperimentProject;
import com.simtop.domain.experiment.ExperimentProjectVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.web.multipart.MultipartFile;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author lvyongwei
 */
public interface ExperimentProjectService {

    /**
     * 添加高校虚拟仿真建设
     * @param experimentProject
     * @param photo
     * @param video
     * @return
     */
    public boolean insertExperimentProject(ExperimentProject experimentProject,MultipartFile photo,
                                           MultipartFile video);

    /**
     * 查询信息
     * @param experimentProject
     * @return
     */
    public List<ExperimentProjectVo> getExperimentProject(ExperimentProject experimentProject);

    /**
     * 修改信息
     * @param experimentProject
     * @param video
     * @param photo
     * @return
     */
    public boolean updateExperimentProject(ExperimentProject experimentProject,MultipartFile photo,
                                           MultipartFile video);

    /**
     * 删除信息
     * @param ids
     * @return
     */
    public boolean deleteExperimentProject(@Param("list") List<Integer> ids);

    /**
     * 根据id获取虚拟仿真建设内容
     * @param experimentId
     * @return
     */
    public ExperimentProject getExperimentProjectById(Integer experimentId);
}
